body {
  background-image: url(../img/bg1.jpg);
  background-size: cover; }

.all_btn {
  margin-left: 15%;
  margin-top: 10%; }
  .all_btn .btn {
    margin-bottom: 20px; }

#card_game #game_show {
  width: 400px;
  background-color: rgba(11, 11, 11, 0.3);
  position: absolute;
  left: 50%;
  top: 9vh;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%); }
  #card_game #game_show .step_number {
    width: 100%;
    height: 100px; }
    #card_game #game_show .step_number #step {
      font-size: 30px;
      color: white;
      text-align: center;
      display: inline-block;
      height: 50px;
      line-height: 50px;
      padding-top: 10px; }
    #card_game #game_show .step_number #score {
      font-size: 30px;
      color: black;
      text-align: center;
      display: inline-block;
      height: 30px;
      line-height: 30px;
      color: white; }
  #card_game #game_show .play {
    width: 90%;
    margin-left: 5%; }
    #card_game #game_show .play .row {
      margin-bottom: 90px; }
    #card_game #game_show .play .square {
      text-align: center;
      -webkit-transform-style: preserve-3d;
              transform-style: preserve-3d;
      position: relative;
      -webkit-transition: all 0.25s;
      transition: all 0.25s;
      -webkit-transform-origin: center;
              transform-origin: center;
      -webkit-transform: scale(1, 1);
              transform: scale(1, 1); }
      #card_game #game_show .play .square .card {
        height: 80px;
        width: 80px;
        border-radius: 10px;
        margin-bottom: 5px;
        margin-top: 5px;
        margin-left: 8px;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
        -webkit-transform-origin: center center;
                transform-origin: center center; }
        #card_game #game_show .play .square .card img {
          height: 80px;
          width: 80px; }
      #card_game #game_show .play .square .front {
        background-color: #f3f485;
        -webkit-transform: rotateY(0deg);
                transform: rotateY(0deg);
        -webkit-animation: none;
                animation: none; }
      #card_game #game_show .play .square .back {
        background-color: white;
        -webkit-transform: rotateY(-180deg);
                transform: rotateY(-180deg); }
      #card_game #game_show .play .square:hover .front {
        cursor: pointer; }
      #card_game #game_show .play .square:hover .back {
        cursor: pointer; }

@-webkit-keyframes frontplay {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg); }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg); } }

@keyframes frontplay {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg); }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg); } }

@-webkit-keyframes backplay {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg); }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg); } }

@keyframes backplay {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg); }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg); } }
